home *** CD-ROM | disk | FTP | other *** search
- Path: siemens.ch!news
- From: Edward Zeh <edward.zeh@siemens.ch>
- Newsgroups: comp.sys.m68k
- Subject: MC68360 DRAM problem
- Date: Mon, 15 Apr 1996 10:29:21 +0200
- Organization: Engineering at Siemens Schweiz AG
- Message-ID: <317208E1.1B52@siemens.ch>
- NNTP-Posting-Host: 150.10.17.16
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/712)
- CC: ze@siemens.ch
-
- I'm using the Train360-Board from Motorola and have problems with DRAMs.
- I built in 4*1Mbyte SIMMs with
- 30 Pins.
-
- I can read and write the DRAM with the Debugger and all works well. But
- when I run a programm, which is in
- the DRAM, some memory-cells changes its value. I maked an easy programm
- to examine it:
-
-
- before running
- --------------
-
- BD32->dasm DRAM
- 00400000 41F9 0040 0200 DRAM: LEA $400200.L,A0
- 00400006 303C FFFF MOVE.W #$FFFF,D0
- 0040000A 0690 0000 0001 ADDI.L #$1,(A0)
- 00400010 4E71 NOP
- 00400012 57C8 FFF6 DBEQ D0,$40000A.W
- B*00400016 4EF9 0040 0016 JMP $400016.L
- 0040001C 0040 0100 ORI.W #$100,D0
- 00400020 203C 0000 0100 MOVE.L #$100,D0
- 00400026 4241 CLR.W D1
- 00400028 41F9 4040 0200 LEA $40400200.L,A0
- 0040002E 4242 CLR.W D2
- 00400030 D470 5100 ADD.W 0(A0,D5.W),D2
-
- after running
- -------------
-
- BD32->dasm DRAM
- 00400000 41F9 0040 0200 DRAM: LEA $400200.L,A0
- 00400006 303C FFFF MOVE.W #$FFFF,D0
- 0040000A 0E90 0000 MOVES.L (A0),D0 // have changed
- 0040000E 0101 BTST D0,D1 // have changed
- 00400010 4E71 NOP // ..
- 00400012 5FC8 FFF6 DBLE D0,$40000A.W // have also
- changed
- B*00400016 4EF9 0040 0016 JMP $400016.L
- 0040001C 0040 0100 ORI.W #$100,D0
- 00400020 203C 0000 0100 MOVE.L #$100,D0
- 00400026 4241 CLR.W D1
- 00400028 41F9 4040 0200 LEA $40400200.L,A0
- 0040002E 4242 CLR.W D2
-
- The programm is very simple, it increases with every iteration the
- memory-cell located at $400200. But after
- few iteration the CPU reads wrong bytes and makes an bus-error. After an
- dissambling of this area, you
- see that some memory hasn't the same value as before.
-
- I haved switched on every delay and waitstates, which are possible in
- the SIM60-Subsystem of the MC68360.
- But nothing has helped.
-
- My Question to all, who read this page:
-
- Has anyone used DRAM with the MC68360 without problems ?
- Does everyone know this problem ?
-
- When you someting know about this problems, please place a new in this
- newsgroup
- or send me a mail to
-
- ze@siemens.ch
-
- 96-04-15, Zuerich, Switzerland, Siemens, Edward Zeh
-